//
//  ABWebController.swift
//  ABWeb
//
//  Created by FaiWong on 2023/2/26.
//

import UIKit
import ABExtension
class ABWebController: UIViewController {
    var wkwebView:ABWebView!
    var url:String = "https://www.baidu.com"
    override func viewDidLoad() {
        super.viewDidLoad()
        
        // Do any additional setup after loading the view.
        wkwebView = ABWebView(frame: self.view.bounds)
        self.view.addSubview(wkwebView)
        wkwebView.loadUrl(loadURL: url)
    }
    
    override func viewDidLayoutSubviews() {
        super.viewDidLayoutSubviews()
        
        wkwebView.frame = self.view.bounds
    }

}
